<?php
require_once(dirname(__FILE__)."/config/config.php");
require_once(dirname(__FILE__)."/comon/action.class.php");
require_once(dirname(__FILE__)."/comon/smarty/libs/SmartyBC.class.php");
$db = new Action($server,$username,$passward,$selectDB,$conn,$coding);
$smarty = new Smarty();
$smarty->left_delimiter = $left_delimiter;
$smarty->right_delimiter = $right_delimiter;
$smarty->caching = false;
if(PHP_VERSION>'5.0.0'){

	date_default_timezone_set('PRC');

	}
$smarty->assign('templates_root','./templates');
?>
